package com.design.pattern.adapter;

/**
 * @author wangyingjie
 * @date
 * @remark MP3适配器：使map3播放器也能播放mp4文件
 */
public class Mp3MediaPlayerAdapter implements MediaPlayer {

    AdvanceMediaPlayer advanceMediaPlayer;

    @Override
    public void play(String mediaType,String filename) {
        advanceMediaPlayer.playMp4(filename);
    }
}
